package com.duruikang.LeaveAPI.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author Drik
 * @date 2021-12-17 11:56
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("account")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 账号id
     */
    @TableId("account_id")
    private String accountId;
    /**
     * 用户名
     */
    @TableField("username")
    private String userName;
    /**
     * 密码
     */
    @TableField("password")
    private String password;
    /**
     * 账号角色
     */
    @TableField("account_role")
    private Integer accountRole;
}
